<ion-content>
  <app-main-header
          [showClose]="isShowClose"
          [title]="'执业详情'"
          [specialClass]="'single-page-background'"></app-main-header>
  <div class="page-content single-page">
    <div class="single-content">
      <div class="detail-list">
        <div class="detail-block">
          <div class="detail-text-item item-border-bottom">
            <span class="text-label">姓名：</span>
            <span class="text-value">{{codeData?.name}}</span>
          </div>
          <div class="detail-text-item item-border-bottom">
            <span class="text-label">出生日期：</span>
            <span class="text-value">{{codeData?.csrq}}</span>
          </div>
        </div>
        <div class="detail-block">
          <div class="detail-text-item item-border-bottom">
            <span class="text-label">执业地点：</span>
            <span class="text-value">{{codeData?.address}}</span>
          </div>
          <div class="detail-text-item item-border-bottom">
            <span class="text-label">主执业机构：</span>
            <span class="text-value">{{codeData?.ownerOrg}}</span>
          </div>
          <div *ngIf="codeData?.yh === '医生'">
            <div class="detail-text-item item-border-bottom">
              <span class="text-label">次执业机构：</span>
              <span class="text-value">{{codeData?.secondOrg}}</span>
            </div>
            <div class="detail-text-item item-border-bottom">
              <span class="text-label">医师级别：</span>
              <span class="text-value">{{codeData?.level}}</span>
            </div>
            <div class="detail-text-item item-border-bottom">
              <span class="text-label">医师类别：</span>
              <span class="text-value">{{codeData?.type}}</span>
            </div>
          </div>
          <div class="detail-text-item item-border-bottom">
            <span class="text-label">任职资格：</span>
            <span class="text-value">{{codeData?.qualified}}</span>
          </div>
        </div>
        <div class="detail-block">
          <div *ngIf="codeData?.yh === '医生'">
            <div class="detail-text-item item-border-bottom">
              <span class="text-label">执业范围：</span>
              <span class="text-value">{{codeData?.range}}</span>
            </div>
          </div>
          <div class="detail-text-item item-border-bottom">
            <span class="text-label">审批机关：</span>
            <span class="text-value">{{codeData?.approvalOrg}}</span>
          </div>
          <div class="detail-text-item item-border-bottom">
            <span class="text-label">审批日期：</span>
            <span class="text-value">{{codeData?.approvalDate}}</span>
          </div>
        </div>
      </div>
    </div>
  </div>
</ion-content>
